{% extends "base.html" %}

{% block title %}current time{% endblock %}
{% block content %}
<FORM action="/jf/register/" method="post">
{{ form.as_p }}

<p><b>Name:</b><br>
<input type="text" name="Name">
<p><b>Type:</b><br>
<input type="text" name="Type">
<p><b>Country:</b><br>
<input type="text" name="Country">
<p><b>City:</b><br>
<input type="text" name="City"><br><br>
<input type="submit">
</FORM>                                	

<p>It is now {{ current_date }}.</p>
<table border=1>
{% for story in hotel_list %}
<tr>
  <td><a href="/jf/get_hotel/?Name={{ story.Name }}"> Edit</a> </td>
  <td><a href="{{ story.Name }}"> {{ story.Name }}</a>    </td>
  <td>  {{ story.Type }}</td>
   
</tr>    
{% endfor %}
</table>    
{% for li in ro %}
 <li>  {{ li}}</li>
{% endfor %}
<FORM action="/jf/get_hotel/" method="post">
<p><b>Search Name:</b><br>
<input type="text" name="Name">
<input type="submit">
</FORM>
{% endblock %}
